﻿using EcoSystem.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace EcoSystem
{
    /// <summary>
    /// 领域模型对应的DTO
    /// </summary>
    public class TakeConfigDto : ExtensibleFullAuditedEntityDto<Guid>
    {
        /// <summary>
        /// 业务编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 业务名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 规则号码预览
        /// </summary>
        public string Preview { get; set; }

        /// <summary>
        /// 启用状态
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 备注说明
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 取号规则项
        /// </summary>
        public List<TakeRuleItem> RuleItems { get; set; }
    }
}
